package com.es.www.kyl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.es.www.kyl.domain.UserPracticeState;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserPracticeStateMapper extends BaseMapper<UserPracticeState> {
    int deleteByPrimaryKey(Integer id);

    int insert(UserPracticeState record);

    int insertSelective(UserPracticeState record);

    UserPracticeState selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserPracticeState record);

    int updateByPrimaryKey(UserPracticeState record);

	List<UserPracticeState> selectUserPracticeStateListGroupByPracticeType(@Param("userId") Integer userId, @Param("categoryId") Integer categoryId);
}